<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/taglib.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Pragma" content="no-cache">
	<title>HiShen</title>
	
	<link type="text/css" rel="stylesheet" href="${base}/resource/style/base/base.css"></link>
	<link type="text/css" rel="stylesheet" href="${base}/resource/style/960css/reset.css"></link>
	<link type="text/css" rel="stylesheet" href="${base}/resource/style/960css/text.css"></link>
	<link type="text/css" rel="stylesheet" href="${base}/resource/style/960css/960_24_col.css"></link>
	<link type="text/css" rel="stylesheet" href="${base}/resource/style/admin/frame.css"></link>
	<link type="text/css" rel="stylesheet" href="${base}/resource/script/jquery-ui/css/jquery-ui.css"></link>
	
	<script type="text/javascript" src="${base}/resource/style/base/solutions/add-html5-tag.js"></script>
	<script type="text/javascript" src="${base}/resource/script/jquery/jquery-1.9.1.js"></script>
	<script type="text/javascript" src="${base}/resource/script/jquery-ui/js/jquery-ui.custom.js"></script>
	<script type="text/javascript" src="${base}/resource/script/jquery-ui/js/i18n/jquery.ui.datepicker-zh-CN.min.js"></script>
	
	<script type="text/javascript" src="${base}/resource/script/jquery-validation/jquery.validate.js"></script>
	<script type="text/javascript" src="${base}/resource/script/jquery-validation/hibernate.validate.js"></script>
	
	<style type="text/css">
		h1,h2 { background-color:#fff; color: #0072c5; margin: 0px; }
		h1 { padding: 0px 30px 0px 10px; } 
		.text { font-size: 14px; height: 32px; width: 320px; }
	</style>
	<script type="text/javascript">
		$(function(){
			$("input[type=button], input[type=submit], input[type=reset], button").button();
		});
		function changeOne(){
			$("img[src='${admin}/login/validatecode']").attr("src","${admin}/login/validatecode");
		}
	</script>
	
</head>
<body>
<div class="container_24">
	<div class="grid_24" style="margin-top: 50px;" class="fn-clear">
		<h1 style="float: left; font-size: 32px;">沈阳技师学院网站管理</h1>
		<div style="background-color: #0072c5; height: 30px; margin-top: 11px;text-align: right; color:#fff;">
			&nbsp;
		</div>
	</div>
	<div class="grid_14" style="margin-top: 100px;text-align: center;">
		<img alt="" src="${base}/resource/img/site/admin/left.jpg" style="width: 493px;height: 442px;">
	</div>
	<section class="grid_10" style="margin-top: 100px;">
		<h2>登录</h2>
<%-- 		<form action="${base}/j_spring_security_check" method="post"> --%>
		<form action="${admin}/login/submit" method="post">
			<p>
				<label>帐号：</label>
			</p>
			<p>
				<input type="text" name="username" id="username" class="text" title="用户名" />
			</p>
			<p>
				<label>密码：</label>
			</p>
			<p>
				<input type="password" name="password" class="text" title="密码" />
			<p>
			<p>
				<label>验证码：<img src="${admin}/login/validatecode" width="60" height="20"/> <a href="javascript:changeOne()" >看不清</a></label>
			</p>
			<p>
				<input type="text" name="validateCode" class="text" title="验证码" />
			<p>
			<p>
				<input type="submit" value="登录" style="font-size: 12px;width: 100px;">
			</p>
			<hs:validator className="org.guide.entity.user.User"/>
		</form>
	</section>
</div>  
<footer class="container_24" style="margin-top: 40px;">
	<hr />
	<label>&copy;2013</label> <a href="${base}">沈阳技师学院</a>
	<label>Produced by 天工</label>
	<div style="float: right;">
		<label>流量统计</label> <a href="https://www.google.cn/intl/zh-CN/analytics/">Google Analytics</a>
	</div>
</footer>
</body>
</html>